package com.hl.card.common.persistence.model;

import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 航空vip申请记录
 * </p>
 *
 * @author coole
 * @since 2018-09-22
 */
@TableName("bibivip_record")
public class BibivipRecord extends Model<BibivipRecord> {

    private static final long serialVersionUID = 1L;

    /**
     * 订单号
     */
    @TableId("id")
    private Integer id;

    /**
     * 订单号
     */
    @TableField("record_id")
    private String recordId;
    /**
     * 用户id
     */
    private String userid;
    /**
     * 姓名
     */
    private String name;
    /**
     * 身份证号
     */
    private String idcard;
    /**
     * 护照
     */
    private String passport;
    /**
     * 手机号
     */
    private String phone;
    /**
     * 支付时通证汇率
     */
    private Double rate;
    /**
     * 平台收款账号
     */
    @TableField("platform_account")
    private String platformAccount;
    /**
     * 创建时间
     */
    @TableField("crete_time")
    private Date creteTime;
    /**
     * 支付时间
     */
    @TableField("pay_time")
    private Date payTime;
    /**
     * 订单状态，1，等待支付，2已支付
     */
    private Integer status;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getRecordId() {
        return recordId;
    }

    public void setRecordId(String recordId) {
        this.recordId = recordId;
    }

    public String getUserid() {
        return userid;
    }

    public void setUserid(String userid) {
        this.userid = userid;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getIdcard() {
        return idcard;
    }

    public void setIdcard(String idcard) {
        this.idcard = idcard;
    }

    public String getPassport() {
        return passport;
    }

    public void setPassport(String passport) {
        this.passport = passport;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Double getRate() {
        return rate;
    }

    public void setRate(Double rate) {
        this.rate = rate;
    }

    public String getPlatformAccount() {
        return platformAccount;
    }

    public void setPlatformAccount(String platformAccount) {
        this.platformAccount = platformAccount;
    }

    public Date getCreteTime() {
        return creteTime;
    }

    public void setCreteTime(Date creteTime) {
        this.creteTime = creteTime;
    }

    public Date getPayTime() {
        return payTime;
    }

    public void setPayTime(Date payTime) {
        this.payTime = payTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    protected Serializable pkVal() {
        return this.recordId;
    }

    @Override
    public String toString() {
        return "BibivipRecord{" +
        "recordId=" + recordId +
        ", userid=" + userid +
        ", name=" + name +
        ", idcard=" + idcard +
        ", passport=" + passport +
        ", phone=" + phone +
        ", rate=" + rate +
        ", platformAccount=" + platformAccount +
        ", creteTime=" + creteTime +
        ", payTime=" + payTime +
        ", status=" + status +
        "}";
    }
}
